#include <iostream>
#include <string>

using namespace std;

int main(){
	string a;
	cin >> a;
	cout << a.length();
}
